package com.wu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @program: blog
 * @author: 吴磊
 * @create: 2022-01-13 10:49
 */
@Data
@ApiModel("文件表")
public class BlogFile implements Serializable {

    private static final long serialVersionUID = 1144454169344317606L;

    @ApiModelProperty("自增主键")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("文件全名")
    private String fileFullName;

    @ApiModelProperty("文件路径")
    private String filePath;

    @ApiModelProperty("上传时间")
    private String uploadTime;

    @ApiModelProperty("0：用户头像，1：文章头像")
    private String fileType;

    @ApiModelProperty("文章Id")
    private String articleId;
}
